home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13008 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news-2.csn.net!usenet
  2. From: Eric Fowler <EricF@microhouse.com>
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: What is required to get GNU flex 2.3 to work with MS Visual C++?
  5. Date: Fri, 22 Mar 1996 16:44:56 -0700
  6. Organization: Microhouse
  7. Message-ID: <31533B78.39C9@microhouse.com>
  8. NNTP-Posting-Host: 204.132.131.130
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13. CC: EricF@microhouse.com
  14.  
  15. I am trying to get started with the GNUish FLEX. I would like to use the 
  16. MSVC 1.52 compiler (because it's a habit, that's why!) and the MFCs(to 
  17. simplify symbol table management through use of their list and table 
  18. classes). When I try to #include and use the MFCs in the lexyy.c file, 
  19. the compiler snivels about using a CPP extension. I give it a CPP 
  20. extension, and the compiler hits a #include <osfcn.h> in the lexyy.cpp 
  21. file, buried inside a #ifdef _cplusplus statement. This file is a part 
  22. of the GPP compiler, but is not in MS compiler set. Now, I suppose in 
  23. about thirty hours I could figure this out myself, but ... does anyone 
  24. know what I have to do to get flex (or lex or even occs) to run on DOS 
  25. or Windows with MSC++ and the MFCs? Actually, any freeware lexer is 
  26. fine.
  27.